<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
<div id ="app">
    <ul>
        <li v-for="user in users">
            {{user.name}}---{{user.age}}
        </li>
    </ul>
</div>
<script type="text/javascript">
    var app =new Vue({
        el:"#app",
        data:{
            users:[{name:"x",age:1},
                {name: "y",age: 2},
                {name:"z",age:3}]
        }
    })
</script>
</body>
</html>